export default class Knowledgetype {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('knowledgeType', 'get', params, axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('knowledgeType', 'post', params, axiosOption, httpOption);
  }
  static update (sender, params, axiosOption, httpOption) {
    return sender.doUrl('knowledgeType/update', 'post', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`knowledgeType/${params}`, 'get', axiosOption, httpOption);
  }
  static delete (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`knowledgeType/delete/${params}`, 'get', axiosOption, httpOption);
  }
  static deletes (sender, params, axiosOption, httpOption) {
    return sender.doUrl('knowledgeType/delete', 'get', params, axiosOption, httpOption);
  }
  static tree (sender, axiosOption, httpOption) {
    return sender.doUrl('knowledgeType/tree', 'GET', axiosOption, httpOption);
  }
}
